@import "~antd/lib/style/themes/default.less";
@import "../../../../../utils/utils.less";

.root {
  display: flex;
  align-items: center;

  :global{
    .ant-input{
      margin-top: 2px;
      height: 28px;
      padding: 3px 25px 3px 4px;
      width: 85%;
    }
    .ant-btn-block {
      margin-left: -25px;
      margin-right: 3px;
      width: 50%;
      height: 28px;
    }
    .ant-input-disabled{
      color: rgba(0, 0, 0, 0.65);
      background-color: #ffffff;
    }
    .ant-radio-button-wrapper{
      height: 28px;
      line-height: 25px;
    }
  }


}

.extra {
  display: inline-block;
  margin-right: 24px;

  a {
    color: @text-color;

    &:last-child {
      margin-left: 24px;
    }

    &:hover {
      color: @primary-color;
    }

    &.currentDate {
      color: @primary-color;
    }
  }
}

.monthMask {
  position: fixed;
  width: 100%;
  height: 100vh;
  left: 0;
  top: 0;
  z-index: 999;
}

.monthRangeWrap {
  display: flex;
  width: 256px;
  z-index: 9999;
  position: relative;


  :global {
    .ant-calendar-month-calendar {
      box-shadow: none;
      border-radius: 0;
    }

    // .ant-calendar-picker {
    //   display: none;
    // }
  }

  .left {
    left: -300px !important;
    padding-top: 34px;
  }

  .right {
    left: -26px !important;
    padding-top: 34px;
  }

  span[role*="日期"] {
    color: rgba(0, 0, 0, .25);
  }
}

.monthRangeBox {
  position: absolute;
  width: 560px;
  height: 324px;
  left: -300px;
  top: -2px;
  background: #fff;
  z-index: 999;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .15);

  .monthHeader {
    width: 100%;
    padding: 6px 10px;
    position: absolute;
    top: 0;
    z-index: 999;
    background: #fff;
    border-bottom: 1px solid #e8e8e8;

    span {
      display: inline-block;
      text-align: left;

      &:nth-child(1) {
        width: 22%;
      }

      &:nth-child(3) {
        margin-left: 16px;
      }
    }
  }
}

.radioBut{
  font-size: 12px;/* 
  font-weight: 600; */
  margin-right: 16px;
  margin-left: 16px;
}

.butn{
  margin-top: 2px;
  font-size: 11px;
}